//
// Created by ziya on 2021/10/18.
//

#ifndef THREAD_POOL_TASK_H
#define THREAD_POOL_TASK_H
#include "../../include/common.h"

class Task {
private:
    int _num;

public:
    Task* _prev;
    Task* _next;

    Task(int num):_num(num), _prev(NULL), _next(NULL) {}

    int num(){
        return _num;
    }

    void do_some_thing(){
        INFO_PRINT("task do some thing  \n");

    };
};



#endif //THREAD_POOL_TASK_H
